package com.base_java.service;

import com.base_java.common.ServerResponse;
import com.base_java.vo.ContentsVo;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

public interface ITaskManageService {

    ServerResponse<String> addInfo(ContentsVo contentsVo);

    ServerResponse<String> updateTask(ContentsVo contentsVo);

    ServerResponse<ContentsVo> selectTask(Long taskId);

    ServerResponse<String> deleteTask(Long taskId);

    ServerResponse<String> uploadFile(MultipartFile file);

    ServerResponse<PageInfo> taskList(int pageNum, int pageSize);

}
